package com.allan.springboot_wms.resp;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class OutResp {
    private Integer outNum;

    private String outName;

    private Integer outSum;

    private BigDecimal purchasePrice;

    private BigDecimal sellingPrice;

    private BigDecimal profit;

    private Date datetime;
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(outNum);
        sb.append(", name=").append(outName);
        sb.append(", 出货数量=").append(outSum);
        sb.append(", 进价=").append(purchasePrice);
        sb.append(", 售价=").append(sellingPrice);
        sb.append(", 利润=").append(profit);
        sb.append(", 操作时间=").append(datetime);
        sb.append("]");
        return sb.toString();
    }
}
